<html>
<head><meta charset="utf-8"><title>rustup: install component for every toolchain · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.3A.20install.20component.20for.20every.20toolchain.html">rustup: install component for every toolchain</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206307069"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%3A%20install%20component%20for%20every%20toolchain/near/206307069" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.3A.20install.20component.20for.20every.20toolchain.html#206307069">(Aug 07 2020 at 20:43)</a>:</h4>
<p>Is there any way to install a component with Rustup for every toolchain installed?</p>



<a name="206309991"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%3A%20install%20component%20for%20every%20toolchain/near/206309991" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.3A.20install.20component.20for.20every.20toolchain.html#206309991">(Aug 07 2020 at 21:11)</a>:</h4>
<div class="codehilite"><pre><span></span><code>rustup toolchain list | cut -d &#39; &#39; -f 1 | xargs -n1 -I {} rustup toolchain add {} --component rustfmt
</code></pre></div>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>